class CreateTransaction1s < ActiveRecord::Migration
  def self.up
    create_table :transaction1s do |t|
        t.column :account_id, :string
        t.column :period_id, :string
        t.column :date, :datetime
        t.column :amount, :float
        t.column :subject, :text       

        # :text, :integer, :float, :decimal, :datetime, :timestamp, :time, :date, :binary, :boolean

    end
  end

  def self.down
    drop_table :transaction1s
  end
end
